package cn.enjoy.design.structure.proxy.service.impl;

import cn.enjoy.design.structure.proxy.entity.FlowForm;
import cn.enjoy.design.structure.proxy.mapper.FlowFormMapper;
import cn.enjoy.design.structure.proxy.service.FlowService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * @author K
 * @date 2021-07-18 17:42
 */
@Service
@AllArgsConstructor
public class FlowServiceImpl extends ServiceImpl<FlowFormMapper, FlowForm> implements FlowService {

    private FlowFormMapper flowFormMapper;


    @Override
    public FlowForm submit(FlowForm flowForm) {
        flowFormMapper.insert(flowForm);
        return flowForm;
    }

}
